<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>select标签学习</title>
</head>
<body>
    <form action="hello.html">

        <h1>select标签学习</h1>
        <p>
            1.select标签是表单元素，用于创建下拉列表框。<br>
            2.option标签用于定义下拉列表框中的选项。<br>
            3.option中的select="selected"属性用于指定默认选中的选项。<br>
            
        </p>
        <select>
            <option select="selected" name="address" value="0">请选择</option>
            <option name="address" value="1">北京</option>
            <option name="address" value="2">上海</option>
        </select>
        <br/>
        <br/>
        <input type="submit" value="提交">
    </form>
</body>
</html>